"Sale Invoices Tags"
Create tags in sale order and pass to invoices and tags wise you can groupby in sale and invoice analysis reports